cmake_minimum_required(VERSION 3.5.0)
project(imgui_lib)

set(CMAKE_CXX_STANDARD 17)

file(GLOB imgui_srcs *.cpp)

add_library(ogl-imgui STATIC ${imgui_srcs})


if(WIN32)
set(DEP_PATH $ENV{__DEP_PATH__})
endif()

target_include_directories(ogl-imgui PUBLIC ${DEP_PATH}/glm)
target_include_directories(ogl-imgui PUBLIC ${DEP_PATH}/glfw/include)
target_include_directories(ogl-imgui PUBLIC ${DEP_PATH}/glfw/deps)
